package edu.zqu.collegeField.framework.activiti.service;


import org.activiti.engine.*;

public class ActivitiBase {
    static ProcessEngineConfiguration configuration = ProcessEngineConfiguration
            .createProcessEngineConfigurationFromResource("activiti/activiti.cfg.xml", "processEngineConfiguration");
    static ProcessEngine processEngine = configuration.buildProcessEngine();
    static TaskService taskService = processEngine.getTaskService();
    static RuntimeService runtimeService = processEngine.getRuntimeService();
    static RepositoryService repositoryService = processEngine.getRepositoryService();
    static HistoryService historyService = processEngine.getHistoryService();
}
